#include <stdio.h>

int main ()
{
int arr[3] = {0};
int i = 0;
int n = 0;
scanf("%d",&n);
while(i<3)
{
	
	arr[i] = n%10;
	n/=10;
	i++;
}
i = 0;
while(i<3)
{
	printf("%d",arr[i]);
	i++;
}	

	return 0; 
}


